import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/get_company_device_list_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/get_company_device_list_entity.g.dart';

@JsonSerializable()
class GetCompanyDeviceListEntity {
	late int id;
	late int companyId;
	late String companyName;
	late int systemId;
	late String systemName;
	late int systemType;
	late String monitorCode;
	late String monitorName;
	late String deviceCode;
	late String deviceName;
	late int createTime;
	late int deviceStatus;
	dynamic systemCode;
	late int onlineStatus;

	GetCompanyDeviceListEntity();

	factory GetCompanyDeviceListEntity.fromJson(Map<String, dynamic> json) => $GetCompanyDeviceListEntityFromJson(json);

	Map<String, dynamic> toJson() => $GetCompanyDeviceListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}